package com.raler.proyar.pl.exception;

import java.text.ParseException;

import com.raler.proyar.bl.exception.GeneralBusinessException;
import com.raler.proyar.util.GeneralException;

public class GeneralPLException extends GeneralException {

	private static final long serialVersionUID = 5214243877675586677L;

	public GeneralPLException() {
		super();
	}

	public GeneralPLException( String codeError, String description ) {
		super( codeError, description );
	}

	public GeneralPLException( GeneralBusinessException e ) {
		super( e.getCodeError(), e.getDescription() );
	}

	public GeneralPLException( String codeError, String description, GeneralBusinessException e ) {
		super( codeError, description );
		setStackTrace( e.getStackTrace() );
	}

	public GeneralPLException( String codeError, String description, ParseException e ) {
		super( codeError, description );
		setStackTrace( e.getStackTrace() );
	}
}
